package com.amazon.inapp.purchasing;

import java.util.Iterator;
import java.util.Set;

final class ItemDataRequest extends Request
{
  private final Set<String> _skus;

  ItemDataRequest(Set<String> paramSet)
  {
    Validator.validateNotNull(paramSet, "skus");
    Validator.validateNotEmpty(paramSet, "skus");
    Iterator localIterator = paramSet.iterator();
    while (localIterator.hasNext())
      if (((String)localIterator.next()).trim().length() == 0)
        throw new IllegalArgumentException("Empty SKU values are not allowed");
    if (paramSet.size() > 100)
      throw new IllegalArgumentException(paramSet.size() + " SKUs were provided, but no more than " + 100 + " SKUs are allowed");
    this._skus = paramSet;
  }

  Runnable getRunnable()
  {
    return new Runnable()
    {
      public void run()
      {
        ImplementationFactory.getRequestHandler().sendItemDataRequest(ItemDataRequest.this._skus, ItemDataRequest.this.getRequestId());
      }
    };
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.inapp.purchasing.ItemDataRequest
 * JD-Core Version:    0.6.2
 */